function addText(Text,Message)
{
  if (Message == 'new_informations')  var obj = document.form.new_informations;
  else if (Message == 'new_signature')  var obj = document.form.new_signature;
  else if (Message == 'new_curriculum')  var obj = document.form.new_curriculum;
  else if (Message == 'description')  var obj = document.form.description;
  else var obj = document.form.text;

  obj.focus();
  
  if (document.selection && document.selection.createRange)  // Internet Explorer
  {
    sel = document.selection.createRange();
	if (sel.parentElement() == obj)  sel.text = Text;
  }

  else if (typeof(obj) != "undefined")  // Firefox
  {
    var longueur = parseInt(obj.value.length);
	var selStart = obj.selectionStart;
	var selEnd = obj.selectionEnd;

	obj.value = obj.value.substring(0,selStart) + Text + obj.value.substring(selEnd,longueur);
  }
  
  else obj.value += Text;

  obj.focus();
}


function addTags(Tag,fTag,Message)
{
  if (Message == 'new_informations')  var obj = document.form.new_informations;
  else if (Message == 'new_signature')  var obj = document.form.new_signature;
  else if (Message == 'new_curriculum')  var obj = document.form.new_curriculum;
  else if (Message == 'description')  var obj = document.form.description;
  else var obj = document.form.text;

  obj.focus();
  
  if (document.selection && document.selection.createRange)  // Internet Explorer
  {
    sel = document.selection.createRange();
	if (sel.parentElement() == obj)  sel.text = Tag + sel.text + fTag;
  }

  else if (typeof(obj) != "undefined")  // Firefox
  {
    var longueur = parseInt(obj.value.length);
	var selStart = obj.selectionStart;
	var selEnd = obj.selectionEnd;

	obj.value = obj.value.substring(0,selStart) + Tag + obj.value.substring(selStart,selEnd) + fTag + obj.value.substring(selEnd,longueur);
  }
  
  else obj.value += Tag + fTag;

  obj.focus();
}


function Show(who)
{
if
(document.getElementById(who).style.display=='none') 
document.getElementById(who).style.display=''; 
else document.getElementById(who).style.display='none';
}